package cn.ainit.yz.comparsion;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.ainit.yz.comparsion.entity.YzComparison;
@Service
public class YzComparsonServiceImpl implements YzComparsonService {
	private YzComparsionDao yzComparsionDao;
	@Resource
	public void setYzComparsionDao(YzComparsionDao yzComparsionDao) {
		this.yzComparsionDao = yzComparsionDao;
	}
	
	@Override
	public boolean saveYzComp(YzComparison yzComparison) throws Exception {
		return this.yzComparsionDao.saveYzComp(yzComparison);
	}

	@Override
	public boolean updCompSave(YzComparison yzComparison) throws Exception {
		return this.yzComparsionDao.updCompSave(yzComparison);
	}

}
